package com.cms.service;

import com.cms.entity.Schedule;
import com.cms.exception.DuplicateKeyException;

import java.util.HashMap;
import java.util.List;

public interface ScheduleService {
    List<Schedule> findAll();

    int insertSchedule (Schedule project) throws DuplicateKeyException;

    int updateSchedule (HashMap<String,String> updateMap) throws DuplicateKeyException;

    int deleteSchedule (String id);
}
